# $Id: PKGBUILD 83401 2013-01-31 11:27:26Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: William Rea <sillywilly@gmail.com>

pkgname=workrave
pkgver=1.10
pkgrel=2
pkgdesc="a tool to help RSI"
arch=('i686' 'x86_64')
license=('GPL2')
url="http://workrave.org"
depends=('libxtst' 'gtkmm3' 'gconf' 'gdome2' 'gstreamer0.10' 'libsm' 'libice'
	 'python2-cheetah' 'libxss' 'gobject-introspection')
makedepends=('intltool')
source=(http://downloads.sourceforge.net/workrave/workrave-$pkgver.tar.gz)
md5sums=('5b76c2ef8e1dfede69c4e0d4bca9dcb9')

build() {
  cd $srcdir/workrave-$pkgver
  export PYTHON=python2
  ./configure --prefix=/usr --enable-dbus --sysconfdir=/etc --libexecdir=/usr/lib/workrave \
	--disable-pulse
  make
}

package() {
  cd $srcdir/workrave-$pkgver
  make DESTDIR=$pkgdir install
}
